#include "cmd.h"
#include "cmdfactor.h"
int main()
{

    logincmdfactor* lcfi = new logincmdfactor();
    cmd* cmdptr = lcfi->getcmd("login fuck");
    cmdptr->getcmdlineitems();
    cout<<cmdptr->isvalid()<<endl;
    cout<<cmdptr->sqlcmd()<<endl;
    printf("hello\n");
    return 0;
}